package nccloud.openapi.uapbd;

import nccloud.api.rest.utils.ResultMessageUtil;
import nccloud.ws.rest.resource.AbstractNCCRestResource;
import org.json.JSONString;
import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;

@Path("/uapbd/person")
public class HelloPerson extends AbstractNCCRestResource {

    @Override
    public String getModule() {
        return "moduleName";
    }

    @POST
    @Path("/hello")
    @Consumes({ "application/json" })
    @Produces({ "application/json" })
    public JSONString helloPerson(JSONString json) {
        return ResultMessageUtil.toJSON("HelloPerson");
    }
}
